﻿using System;
using SqlSugar;

namespace ZhiKeDuoServer.Model
{
    /// <summary>
    /// 
    /// </summary>
    public class Role:ModelContext
    {

        private System.Int32 _Id;
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsIdentity = true)]
        public System.Int32 Id { get { return this._Id; } set { this._Id = value; } }

        private System.String _Name;
        /// <summary>
        /// 
        /// </summary>
        public System.String Name { get { return this._Name; } set { this._Name = value?.Trim(); } }

        private System.String _Exts;
        /// <summary>
        /// 
        /// </summary>
        public System.String Exts { get { return this._Exts; } set { this._Exts = value?.Trim(); } }

        private System.DateTime? _Adddate;

        public Role()
        {
            _Adddate = DateTime.Now;
        }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? Adddate { get { return this._Adddate; } set { this._Adddate = value ?? default(System.DateTime); } }
    }
}